/**
 * 
 */
package org.tinygroup.menuframe.services.impl;

import org.tinygroup.menuframe.dto.MenuInfo;
import org.tinygroup.menuframe.manager.MenuTreeManager;
import org.tinygroup.menuframe.services.MenuTreeService;

/**
 * @author Administrator
 *
 */
public class MenuTreeServiceImpl implements MenuTreeService {

	private MenuTreeManager menuTreeManager;
	/* (non-Javadoc)
	 * @see org.tinygroup.menuframe.services.MenuTreeService#authMenuInfo(java.lang.String, java.lang.String)
	 */
	@Override
	public MenuInfo authMenuInfo(String userName, String currentUrl) {
		return menuTreeManager.getAuthMenuInfo(userName, currentUrl);
	}
	public MenuTreeManager getMenuTreeManager() {
		return menuTreeManager;
	}
	public void setMenuTreeManager(MenuTreeManager menuTreeManager) {
		this.menuTreeManager = menuTreeManager;
	}

}
